package com.bicon.botu.mall.order.processor.fallback;

import com.bicon.botu.core.base.common.Constants;
import com.bicon.botu.core.base.common.entity.BaseResult;
import com.bicon.botu.mall.base.entity.LogisticsCompany;
import com.bicon.botu.mall.order.processor.handler.LogisticsCompanyRpc;
import org.springframework.stereotype.Component;

/**
 * @author 李双喜
 * @date 2018/6/28 18:03
 */
@Component
public class LogisticsCompanyFallback implements LogisticsCompanyRpc {


    @Override
    public BaseResult<LogisticsCompany> enabledList(String id) {
        BaseResult<LogisticsCompany> result = new BaseResult<>();
        result.setCode(Constants.RESPONSE_CODE_404);
        result.setMessage(Constants.RESPONSE_MESSAGE_404);
        return result;
    }
}
